{
    "resourceType": "Bundle",
    "id": "BundleSurgery1Test",
    "meta": {
        "profile": [
            "https://fhir.by/AbstractArea/StructureDefinition/Bundle/MedicationDocument"
        ]
    },
    "identifier": {
        "system": "https://fhir.by/ValueSet/urn:ietf:rfc:3086",
        "value": "{{$guid}}"
    },
    "type": "document",
    "timestamp": "2025-11-18T16:00:00Z",
    "entry": [
        {
            "fullUrl": "Composition/CompositionSurgery1Test",
            "resource": {
                "resourceType": "Composition",
                "id": "CompositionSurgery1Test",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/CompDocument"
                    ]
                },
                "status": "final",
                "type": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/CompositionType",
                            "code": "general",
                            "display": "Общая медицинская информация"
                        }
                    ]
                },
                "subject": [
                    {
                        "reference": "Patient/PatientTest"
                    }
                ],
                "date": "2025-11-18T16:00:00Z",
                "author": [
                    {
                        "reference": "Practitioner/{{PractitionerId}}"
                    }
                ],
                "title": "CompDocument для наполненного Bundle по оперативному вмешательству",
                "custodian": {
                    "reference": "Organization/{{OrganizationId}}"
                },
                "event": [
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "Condition/ExampleDiagnosisrEndoscopy3"
                                }
                            }
                        ]
                    },
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "ServiceRequest/ExampleSRPathohistologyAppendixTest"
                                }
                            }
                        ]
                    },
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "Specimen/ExampleSpecimeAppendixBiopsyTest"
                                }
                            }
                        ]
                    },
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "EpisodeOfCare/ExampleHospitalisation2.2Test"
                                }
                            }
                        ]
                    },
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "Procedure/ExampleEndoscopyColonoscopyTest"
                                }
                            }
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "Patient/PatientTest",
            "resource": {
                "resourceType": "Patient",
                "id": "PatientEndoscopy",
                "meta": {
                    "lastUpdated": "2025-11-17T11:30:00Z",
                    "profile": [
                        "https://fhir.by/StructureDefinition/PatientWithIdentificationNumber"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/IncapacityExtension",
                        "valueBoolean": true
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/DisabilityGroup",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/DisabilityGroup",
                                    "code": "3_group",
                                    "display": "III группа"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/DisabilityReason",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/DisabilityReason",
                                    "code": "ch-general",
                                    "display": "вследствие общего заболевания"
                                }
                            ]
                        }
                    },
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/PatientJobProfession",
                                "valueString": "Экономист"
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/PatientJobPlace",
                                "valueString": "ОАО Экономика"
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/TermOFWork",
                                "valuePeriod": {
                                    "start": "2015-09-01"
                                }
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/MainJobPlace",
                                "valueBoolean": true
                            }
                        ],
                        "url": "https://fhir.by/StructureDefinition/PatientJob"
                    },
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/PatientJobProfession",
                                "valueString": "Экономист"
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/PatientJobPlace",
                                "valueString": "ОАО СтройВозводи"
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/TermOFWork",
                                "valuePeriod": {
                                    "start": "2015-09-01"
                                }
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/MainJobPlace",
                                "valueBoolean": false
                            }
                        ],
                        "url": "https://fhir.by/StructureDefinition/PatientJob"
                    },
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/PatientStudyPlace",
                                "valueString": "БГУ, экономический факультет"
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/PatientTermOfStudy",
                                "valuePeriod": {
                                    "start": "2011-09-01",
                                    "end": "2015-07-01"
                                }
                            }
                        ],
                        "url": "https://fhir.by/StructureDefinition/PatientStudy"
                    },
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/PatientStudyPlace",
                                "valueString": "ГБУ, факультет программирования"
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/PatientTermOfStudy",
                                "valuePeriod": {
                                    "start": "2015-09-01",
                                    "end": "2018-07-01"
                                }
                            }
                        ],
                        "url": "https://fhir.by/StructureDefinition/PatientStudy"
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/PatientPreferences",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/VSPatientPreferences",
                                    "code": "6",
                                    "display": "Дети-инвалиды в возрасте до 18 лет и дети в возрасте до 3 лет."
                                }
                            ]
                        }
                    },
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/ConsentPersonalDataBoolean",
                                "valueBoolean": true
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/ConsentPersonalDataPeriod",
                                "valuePeriod": {
                                    "start": "2024-08-01"
                                }
                            }
                        ],
                        "url": "https://fhir.by/StructureDefinition/ConsentPersonalData"
                    }
                ],
                "identifier": [
                    {
                        "use": "usual",
                        "type": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/PersonalDocumentType",
                                    "code": "INP"
                                }
                            ]
                        },
                        "value": "7551446A009PB3"
                    },
                    {
                        "extension": [
                            {
                                "extension": [
                                    {
                                        "url": "https://fhir.by/StructureDefinition/PassportIssuedDate",
                                        "valueDate": "1985-12-31"
                                    },
                                    {
                                        "url": "https://fhir.by/StructureDefinition/PassportIssuedString",
                                        "valueString": "Центральным РУВД г Минска, 31.12.1985"
                                    },
                                    {
                                        "url": "https://fhir.by/StructureDefinition/PassportIssuedCode",
                                        "valueCodeableConcept": {
                                            "coding": [
                                                {
                                                    "system": "https://fhir.by/ValueSet/OCAM",
                                                    "code": "106"
                                                }
                                            ]
                                        }
                                    }
                                ],
                                "url": "https://fhir.by/StructureDefinition/PassportIssued"
                            }
                        ],
                        "use": "official",
                        "type": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/PersonalDocumentType",
                                    "code": "CDP",
                                    "display": "Удостоверение инвалида"
                                }
                            ]
                        },
                        "value": "AB7770",
                        "period": {
                            "start": "2024-01-31"
                        },
                        "assigner": {
                            "reference": "Organization/{{OrganizationId}}"
                        }
                    }
                ],
                "active": true,
                "name": [
                    {
                        "family": "Алексеев",
                        "given": [
                            "Василий",
                            "Петрович"
                        ]
                    }
                ],
                "telecom": [
                    {
                        "system": "phone",
                        "value": "80290000000"
                    },
                    {
                        "system": "email",
                        "value": "test_mail@mail.by"
                    }
                ],
                "gender": "male",
                "birthDate": "1985-12-31",
                "deceasedBoolean": false,
                "address": [
                    {
                        "use": "home",
                        "text": "РБ, г. Минск, пр-т Независимости д.28, кв.101",
                        "city": "Minsk city",
                        "state": "Minskaya oblast",
                        "country": "Belarus"
                    },
                    {
                        "use": "temp",
                        "text": "РБ, г. Минск, пр-т Победителей д.28, кв.101",
                        "city": "Minsk city",
                        "state": "Minskaya oblast",
                        "country": "Belarus"
                    }
                ],
                "maritalStatus": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/MaritalStatus",
                            "code": "married"
                        }
                    ]
                }
            }
        },
        {
            "fullUrl": "EpisodeOfCare/ExampleHospitalisation2.2Test",
            "resource": {
                "resourceType": "EpisodeOfCare",
                "id": "ExampleHospitalisation2.2Test",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/Hospitalisation"
                    ]
                },
                "extension": [
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/HospitalisationPaidType",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/HospitalisationPaidType",
                                            "code": "govern",
                                            "display": "за счет бюджетных средств"
                                        }
                                    ]
                                }
                            }
                        ],
                        "url": "https://fhir.by/StructureDefinition/HospitalisationPaid"
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/EmergencyHospitalisationTerm",
                        "valuePositiveInt": 6
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/HepatitisBool",
                        "valueBoolean": false
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/DiagnosisOfSendingOrganisation",
                        "valueReference": {
                            "reference": "Condition/ExampleDiagnosisrEndoscopy3"
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/SequenceNumbeHospitalisation",
                        "valuePositiveInt": 1
                    }
                ],
                "identifier": [
                    {
                        "value": "12/1",
                        "assigner": {
                            "reference": "Organization/{{OrganizationId}}"
                        }
                    }
                ],
                "status": "active",
                "type": [
                    {
                        "coding": [
                            {
                                "system": "https://fhir.by/ValueSet/TypeOfHealthCare",
                                "code": "hightechnology",
                                "display": "Высокотехнологичная медицинская помощь"
                            }
                        ]
                    }
                ],
                "reason": [
                    {
                        "use": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/HospitalisationReasonUse",
                                    "code": "2",
                                    "display": "Экстренная госпитализация"
                                }
                            ]
                        },
                        "value": [
                            {
                                "concept": {
                                    "text": "Для уточнения диагноза и лечения"
                                }
                            }
                        ]
                    }
                ],
                "diagnosis": [
                    {
                        "condition": [
                            {
                                "extension": [
                                    {
                                        "url": "https://fhir.by/StructureDefinition/TypeOfDiagnosis",
                                        "valueCodeableConcept": {
                                            "coding": [
                                                {
                                                    "system": "https://fhir.by/ValueSet/TypeOfDiagnosis",
                                                    "code": "mainDiagnosis",
                                                    "display": "Основной диагноз"
                                                }
                                            ]
                                        }
                                    }
                                ],
                                "reference": {
                                    "reference": "Condition/ExampleDiagnosisrEndoscopy3"
                                }
                            }
                        ],
                        "use": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/KindOfDiagnosisCode",
                                    "code": "Preliminary",
                                    "display": "Предварительный диагноз"
                                }
                            ]
                        }
                    },
                    {
                        "condition": [
                            {
                                "extension": [
                                    {
                                        "url": "https://fhir.by/StructureDefinition/TypeOfDiagnosis",
                                        "valueCodeableConcept": {
                                            "coding": [
                                                {
                                                    "system": "https://fhir.by/ValueSet/TypeOfDiagnosis",
                                                    "code": "mainDiagnosis",
                                                    "display": "Основной диагноз"
                                                }
                                            ]
                                        }
                                    }
                                ],
                                "reference": {
                                    "reference": "Condition/ExampleDiagnosisrEndoscopy3"
                                }
                            }
                        ],
                        "use": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/KindOfDiagnosisCode",
                                    "code": "Clinical",
                                    "display": "Клинический диагноз"
                                }
                            ]
                        }
                    }
                ],
                "patient": {
                    "reference": "Patient/PatientTest"
                },
                "managingOrganization": {
                    "reference": "Organization/{{OrganizationId}}"
                },
                "period": {
                    "start": "2025-11-15"
                },
                "careManager": {
                    "reference": "PractitionerRole/{{PractitionerRole}}"
                }
            }
        },
        {
            "fullUrl": "Condition/ExampleDiagnosisrEndoscopy3",
            "resource": {
                "resourceType": "Condition",
                "id": "ExampleDiagnosisrEndoscopy3",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/FinalDiagnosis"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/KindOfDiagnosis",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/KindOfDiagnosisCode",
                                    "code": "Final",
                                    "display": "Заключительный диагноз"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/AssertedDate",
                        "valueDateTime": "2025-11-15"
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/CourseOfDisease",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/CourseOfDisease",
                                    "code": "acute",
                                    "display": "Острое течение заболевания"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/FirstTimeRevealed",
                        "valueBoolean": true
                    }
                ],
                "clinicalStatus": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                            "code": "active"
                        }
                    ]
                },
                "code": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/InternClassificDiseases10",
                            "code": "K63.5"
                        }
                    ],
                    "text": "K63.5 - Полип ободочной кишки"
                },
                "subject": {
                    "reference": "Patient/PatientTest"
                },
                "onsetDateTime": "2025-11-15",
                "recordedDate": "2025-11-15",
                "participant": [
                    {
                        "actor": {
                            "reference": "PractitionerRole/{{PractitionerRole}}"
                        }
                    }
                ],
                "note": [
                    {
                        "text": "Полип ободочной кишки"
                    }
                ]
            }
        },
        {
            "fullUrl": "ServiceRequest/ExampleSRPathohistologyAppendixTest",
            "resource": {
                "resourceType": "ServiceRequest",
                "id": "ExampleSRPathohistologyEndoScTest",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/ServiceRequestBioMatResearch"
                    ]
                },
                "extension": [
                    {
                        "extension": [
                            {
                                "extension": [
                                    {
                                        "url": "https://fhir.by/StructureDefinition/ShortClinicalData",
                                        "valueString": "Полип на ножке нисходящей ободочной кишке"
                                    }
                                ],
                                "url": "https://fhir.by/StructureDefinition/PathoHistology"
                            }
                        ],
                        "url": "https://fhir.by/StructureDefinition/TypeOfResearch"
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/FromOrganization",
                        "valueReference": {
                            "reference": "Organization/{{OrganizationId}}"
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/SpecialtyCode",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/ServiceSpecialtyBy",
                                    "code": "C018",
                                    "display": "Лабораторная диагностика"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/PurposeOfResearch",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/PurposeOfResearch",
                                    "code": "primary-research",
                                    "display": "первичное исследование"
                                }
                            ]
                        }
                    }
                ],
                "identifier": [
                    {
                        "value": "758614"
                    }
                ],
                "status": "active",
                "intent": "directive",
                "category": [
                    {
                        "coding": [
                            {
                                "system": "https://fhir.by/ValueSet/HealthcareServiceCategory",
                                "code": "03/2",
                                "display": "Стационарная медицинская диагностика для взрослого населения"
                            }
                        ]
                    }
                ],
                "priority": "routine",
                "code": {
                    "concept": {
                        "coding": [
                            {
                                "system": "https://fhir.by/ValueSet/ResearchMethods",
                                "code": "patho-histology",
                                "display": "Патогистологическое исследование"
                            }
                        ]
                    }
                },
                "subject": {
                    "reference": "Patient/PatientTest"
                },
                "authoredOn": "2025-11-15T14:00:00Z",
                "requester": {
                    "reference": "PractitionerRole/{{PractitionerRole}}"
                },
                "performer": [
                    {
                        "reference": "Organization/{{OrganizationId}}"
                    }
                ],
                "location": [
                    {
                        "reference": {
                            "reference": "Location/{{LocationId}}"
                        }
                    }
                ],
                "reason": [
                    {
                        "reference": {
                            "reference": "Condition/ExampleDiagnosisrEndoscopy3"
                        }
                    }
                ],
                "specimen": [
                    {
                        "reference": "Specimen/ExampleSpecimeAppendixBiopsyTest"
                    }
                ]
            }
        },
        {
            "fullUrl": "Specimen/ExampleSpecimeAppendixBiopsyTest",
            "resource": {
                "resourceType": "Specimen",
                "id": "ExampleSpecimeEndoScBiopsyTest",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/BioMatSpecimen"
                    ]
                },
                "identifier": [
                    {
                        "value": "2450.2025",
                        "assigner": {
                            "reference": "Organization/d472b8d6-5c80-4dfb-ad09-c5ce8596d5e9"
                        }
                    }
                ],
                "type": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/VSBiologicalMaterial",
                            "code": "12.12.15",
                            "display": "Иной материал"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/PatientTest"
                },
                "collection": {
                    "procedure": {
                        "reference": "Procedure/ExampleEndoscopyColonoscopyTest"
                    },
                    "bodySite": {
                        "concept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/AnatomicalTerminology",
                                    "code": "Descending-colon",
                                    "display": "Нисходящая ободочная кишка"
                                }
                            ]
                        }
                    }
                },
                "processing": [
                    {
                        "method": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/ColoringMicropreparations",
                                    "code": "Native",
                                    "display": "Не окрашивался"
                                }
                            ]
                        }
                    }
                ],
                "condition": [
                    {
                        "coding": [
                            {
                                "system": "https://fhir.by/ValueSet/StateOfSpecimen",
                                "code": "COOL",
                                "display": "Охлажденный"
                            }
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "Procedure/ExampleEndoscopyColonoscopyTest",
            "resource": {
                "resourceType": "Procedure",
                "id": "ExampleEndoscopyColonoscopyTest",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/SurgicalProcedure"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/FromOrganization",
                        "valueReference": {
                            "reference": "Organization/{{OrganizationId}}"
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/EncounterTypeOfService",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/EncounterTypeOfService",
                                    "code": "free",
                                    "display": "Бесплатные услуги"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/TermsOfService",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/VSTermsOfService",
                                    "code": "2",
                                    "display": "стационарные"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/InpatientMedicalRecord",
                        "valueReference": {
                            "reference": "EpisodeOfCare/ExampleHospitalisation2.2Test"
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/AnesthesiaType",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/AnesthesiaType",
                                    "code": "general",
                                    "display": "общая анестезия"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/ProcedureUrgency",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/ProcedureUrgency",
                                    "code": "planned",
                                    "display": "Плановое"
                                }
                            ]
                        }
                    }
                ],
                "identifier": [
                    {
                        "value": "13522",
                        "assigner": {
                            "reference": "Organization/{{OrganizationId}}"
                        }
                    }
                ],
                "status": "completed",
                "category": [
                    {
                        "coding": [
                            {
                                "system": "https://fhir.by/ValueSet/ProcedureType",
                                "code": "non-oncological-diseases",
                                "display": "По поводу неонкологических заболеваний"
                            }
                        ]
                    }
                ],
                "code": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/SurgicalInterventions",
                            "code": "JFSA15",
                            "display": "Эндоскопическая полипэктомия в толстой кишке"
                        }
                    ],
                    "text": "Эндоскопическая полипэктомия в толстой кишке"
                },
                "subject": {
                    "reference": "Patient/PatientTest"
                },
                "occurrencePeriod": {
                    "start": "2025-11-15T12:00:00Z",
                    "end": "2025-11-15T13:20:00Z"
                },
                "performer": [
                    {
                        "function": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/OperatingTeam",
                                    "code": "endo",
                                    "display": "врач-эндоскопист"
                                }
                            ]
                        },
                        "actor": {
                            "reference": "PractitionerRole/{{PractitionerRole}}"
                        },
                        "period": {
                            "start": "2025-11-15T12:00:00Z",
                            "end": "2025-11-15T13:20:00Z"
                        }
                    },
                    {
                        "function": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/OperatingTeam",
                                    "code": "surgical-sister",
                                    "display": "медицинская сестра операционная"
                                }
                            ]
                        },
                        "actor": {
                            "reference": "PractitionerRole/{{PractitionerRole}}"
                        },
                        "period": {
                            "start": "2025-11-15T12:00:00Z",
                            "end": "2025-11-15T13:20:00Z"
                        }
                    },
                    {
                        "function": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/OperatingTeam",
                                    "code": "anesthetist",
                                    "display": "врач-анестезиолог-реаниматолог"
                                }
                            ]
                        },
                        "actor": {
                            "reference": "PractitionerRole/{{PractitionerRole}}"
                        },
                        "period": {
                            "start": "2025-11-15T12:00:00Z",
                            "end": "2025-11-15T13:20:00Z"
                        }
                    },
                    {
                        "function": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/OperatingTeam",
                                    "code": "anesthetist-sister",
                                    "display": "медицинская сестра-анестезист"
                                }
                            ]
                        },
                        "actor": {
                            "reference": "PractitionerRole/{{PractitionerRole}}"
                        },
                        "period": {
                            "start": "2025-11-15T12:00:00Z",
                            "end": "2025-11-15T13:20:00Z"
                        }
                    }
                ],
                "location": {
                    "reference": "Location/{{LocationId}}"
                },
                "reason": [
                    {
                        "concept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/SurgicalInterventionDiagnosis",
                                    "code": "postoperative",
                                    "display": "Диагноз после вмешательства"
                                }
                            ]
                        },
                        "reference": {
                            "reference": "Condition/ExampleDiagnosisrEndoscopy3"
                        }
                    }
                ],
                "note": [
                    {
                        "text": "Колоноскоп введен до купола слепой кишки, осмотр выполнен по ходу вывода аппарата.\n               В нисходящей ободочной кишке визуализирован полип на ножке, выполнена его эндоскопическая \n               резекция с помощью диатермической петли. \n               Слизистая остальных отделов толстой кишки без выраженной патологии."
                    }
                ]
            }
        }
    ]
}